package com.biwin.common.app.event;

import com.biwin.common.api.event.IBwEvent;
import org.springframework.context.ApplicationEvent;

/**
 * TODO
 *
 * @author biwin
 * @since 0.0.1
 */
public abstract class BwBasicEvent extends ApplicationEvent implements IBwEvent {

    private Integer id;

    private String identify;

    public BwBasicEvent(Object source) {
        super(source);
    }

    public BwBasicEvent(Integer id) {
        super(id);
    }

    public BwBasicEvent(String identify) {
        super(identify);
    }

    public BwBasicEvent(Object source, String identify) {
        super(source);
        this.identify = identify;
    }

    public BwBasicEvent(Object source, Integer id) {
        super(source);
        this.id = id;
    }

    public BwBasicEvent(Object source, Integer id, String identify) {
        super(source);
        this.id = id;
        this.identify = identify;
    }
}
